package com.tl.branchmanagementdemo.controller;


import com.tl.branchmanagementdemo.service.IBranchService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 分支表 前端控制器
 * </p>
 *
 * @author tl
 * @since 2024-03-02
 */
@RestController
@Slf4j
@RequestMapping("/branch")
public class BranchController {
    @Autowired
    private IBranchService branchService;

    @GetMapping("/test")
    public void page() throws InterruptedException {
        branchService.test();
    }
    @GetMapping("/test1")
    public void page1() throws InterruptedException {
        branchService.test1();
    }
}

